home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Belgian Amiga Club - ADF Collection
/
BS1 part 34.zip
/
BS1 part 34
/
FredFish PD 317.adf
/
Uniq
/
make.sh
< prev
next >
Wrap
Text File
|
1990-02-06
|
534b
|
24 lines
#
# Make uniq - GMD 11 Jan 90
#
# if using Dillon's csh , trigger off a make of uniq by
# typing 'source make.sh' ; it will generate date.c
# containing the current date which will be compiled and
# linked into uniq ( output with usage () )
#
#
#
echo "char *MakeDate[] = \"\\" >date.c
date | input a
echo $a\" ";" >>date.c
date
#
# for the non-cognoscenti , the above will create date.c
# containing ( for example ) the equivalent of the following string :-
#
# char *MakeDate[] = "Thursday 11-Jan-90 22:40:27" ;
#
#
make uniq